package com.sky.service;

import com.sky.entity.AddressBook;
import org.springframework.stereotype.Service;

import java.util.List;


public interface AddressBookService {
    void addAddressBook(AddressBook addressBook);

    List<AddressBook> list(AddressBook addressBook);

    void update(AddressBook addressBook);

    void delete(Long id);

    AddressBook getById(Long id);

    void setDefaultAddress(AddressBook addressBook);
}
